package com.kc.zhaojiu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName tb_teacher_student
 */
@TableName(value ="tb_teacher_student")
@Data
public class TbTeacherStudent implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 学生所属教研室(专业)
     */
    private String studentOffice;

    /**
     * 指导老师id
     */
    private Long teacherId;

    /**
     * 指导老师姓名
     */
    private String teacherName;

    /**
     * 老师所属教研室
     */
    private String teacherOffice;

    /**
     * 毕业年份
     */
    private Integer endYear;

    /**
     * 就业方式(1考研2考公参军3找工作4创业)
     */
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 逻辑删除(0未删除  1已删除)
     */
    @TableLogic
    private Integer isDeleted;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}